﻿<%@  Language="C#" MasterPageFile="Admin.master" %>
<%@ Register Src="../module/Admincenter_Type_Add_Html.ascx" TagName="TypeAddBox"
    TagPrefix="inal" %>
<%@ Register Src="../module/UpFile.ascx" TagName="UpFile" TagPrefix="inal" %>
<script runat="server">
    public int Typ_Id = 0;
    public int Item_Lang = 1;
    public Types types;
    public int Typ = 1;
    protected void Page_Load(object sender, EventArgs e)
    {
        Typ_Id = Utils.GetQueryString("Rid", 1);
        Item_Lang = Utils.GetQueryString("lang", 1);
        Typ = Utils.GetQueryString("Typ", 1);
    }
</script>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <script language="javascript" type="text/javascript">
        /* 维吾尔文输入法 */
        attachAll = true;
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <%=Lang.Show("ColumnManagement") %>
    -
    <%=Lang.Show("Edit")%></asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="Server">
    <div id="Text_Add_Of_KindEditor" style="display: none;">
        <div class="input_layout">
            <table class="inputs">
                <tr>
                    <td class="text">
                        <%=Lang.Show("TypeColumnName")%>:
                    </td>
                    <td>
                        <textarea maxlength="150" id="Type_Name"></textarea>
                    </td>
                </tr>
            </table>
        </div>
        <button onclick="Type_Add(<%=Typ_Id %>,<%=Item_Lang %>,<%=Typ %>)" class="button">
            <%=Lang.Show("Submit")%></button>
    </div>
    <inal:TypeAddBox runat="server"/>
    <script type="text/javascript">
        $("#Type_Name").focus();
        ShowLimitLength(320, "Type_Name");
    </script>
</asp:Content>
